package com.jzo2o.health.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.health.model.domain.ReservationSetting;
import com.jzo2o.health.model.dto.request.ReservationSettingUpsertReqDTO;
import com.jzo2o.health.model.dto.response.ReservationDateResDTO;
import com.jzo2o.health.model.dto.response.ReservationSettingResDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Description ReservationSettingService
 * @Author dmx
 * @Date 2024-12-13
 */
public interface ReservationSettingService  extends IService<ReservationSetting> {

    /**
     * 按月查询预约设置
     * @param date
     * @return
     */
    List<ReservationSettingResDTO> getReservationSettingByMonthList(String date);

    /**
     * 编辑预约设置
     * @param reservationSettingUpsertReqDTO
     */
    void ReservationSettingUpsertReqDTO(ReservationSettingUpsertReqDTO reservationSettingUpsertReqDTO);

    /**
     * 用户端按月查询可预约的日期
     * @param month
     * @return
     */
    ReservationDateResDTO getReservationDateByMonth(String month);

    /**
     * 批量管理预约设置
     * @param formData
     */
    void batchSave(MultipartFile formData);
}
